// 定义环境URL枚举
const envUrlEnum = {
  // development: "http://47.100.16.156:9195",
  // development: "http://47.105.63.133:9195",
  // development: "http://vr45929625.vicp.fun",
  // development: "http://192.168.198.197:9195/",
  development: "https://gateway.iittii.com/",
  // production: "http://47.105.63.133:9195", // 示例生产环境URL  http://vr45929625.vicp.fun
  production: "https://gateway.iittii.com/", // 示例生产环境URL  http://vr45929625.vicp.fun
  test: "http://47.105.63.133:9195", // 示例测试环境URL
};

// 获取当前环境变量
const currentEnv = process.env.NODE_ENV;

// 确保环境变量已设置
if (!currentEnv) {
  console.error("Environment variable NODE_ENV is not set.");
  throw new Error("NODE_ENV must be set");
}

// 获取对应环境请求的URL
export const baseUrl = envUrlEnum[currentEnv];

console.log("现在的url", baseUrl);

// tenantId
export const tenantId = "1846190237240397824";

// 平台名称
export const platformName = "北岛严选";
